VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "MethodFixture"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit

Private mName As String
Private mComposite As New CompositeMethodCaller

Public Sub init(name As String)
mName = name
End Sub
Public Sub add(forward As Object)
mComposite.add forward
End Sub

Public Sub forward(notify As Object)
notify.StartMethod Me
On Error GoTo handler
mComposite.forward notify
GoTo exitMethod

handler:
'Exit Sub

exitMethod:
notify.EndMethod
End Sub

Public Property Get name() As String
name = mName
End Property

Public Property Get elapsedTime() As Double
elapsedTime = mComposite.elapsedTime
End Property

Private Sub Class_Initialize()
mComposite.init
End Sub
